navigatorItems = new Array("index", "menu", "introduction", "recruitment");

$(document).ready(function() {
	center();
	$('#imageViewer a').lightBox();
});

function navigate(page){
	window.location.href = navigatorItems[page] + ".php";
}

function center(){
	var isBigger = $(document).width() > $(window).width();
	if(isBigger) window.scrollTo(($(document).width() / 2) - ($(window).width() / 2), 0);
	else window.scrollTo(($(window).width() / 2) - ($(document).width() / 2), 0);
}